package com.allprs.hmcs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wjf
 * @描述: 泵站实体
 * @date 2024年06月11日
 * @version: 1.0
 */

@Data
@TableName(value = "pump_station",schema = "city")
public class PumpStation {

    @ApiModelProperty(value = "主键")
    private int id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "位置")
    private String position;

    @ApiModelProperty(value = "设计流量")
    private String designFlow;

    @ApiModelProperty(value = "建成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buildTime;

    @ApiModelProperty(value = "控制方式")
    private String controlWay;


}
